If one spouse wishes to keep the house, selling before divorce may not be the best option. In this case, you might consider a buyout where one spouse refinances the mortgage and pays the other their share of the equity. This decision should be made carefully, considering both parties' financial situations and the long-term implications.