Heads up - one reason NOT to sell the house right away:
What happened to me was, H was in a real hurry to buy the duplex he was renting. Since I knew I couldn't afford to keep the house anyway, I consented to sell it not long after he filed for divorce. It sold quickly. Our divorce ended up taking almost two years to finalize (partly because of negotiating issues, partly because it's a darned lot of paperwork and neither of us were super timely on doing it. And we had a relatively civil mediated divorce).
BUT - I didn't get to buy a new house for two years because no one would qualify me for a mortgage loan until my divorce was final.
I was lucky that the housing market stayed down that whole time, otherwise I would have gotten hosed.
Unless you anticipate enough profit from the sale of the home to buy a condo outright without borrowing, I recommend NOT agreeing to sell the house until you are divorced. Otherwise, you might be stuck - house sold, not finalized divorce yet, and housing prices picking back up and pricing you out.