A judge will sentence a woman who pleaded guilty to setting her ex-husband's house on fire while he was away from home.