P.S. when my ex left, he insisted on selling the house right away because he had a new property he wanted to buy. I knew I couldn't afford to buy him out of the considerable equity in our house so I agreed. It turned out ok, but wss really risky, because I couldn't get a mortgage on a new place until the divorce was finalized and I had a year of alimony check receipts. Our divorce took two years and I was just lucky that housing prices didn't rise too much in that time.
If you plan to buy a new place, don't agree to sell the old one until the divorce is done or almost done.
(Btw, I ended up buying a beautiful home in a much less expensive area of our county, and I'm happy with it and .y new, less pretentious neighbors.