Divorce ranks as life’s second most stressful event, and decisions over what to do with the family house drive some of the most heated disputes between couples parting ways.