Negotiating a divorce and dividing assets gives the spouses a lot of freedom in fashioning an agreement that works for both of them. For example, in the case of dispute of jointly owned real property, the court may only be able to order a sale. Under certain circumstances, a party may be able to get the house transferred in title or use and possession, but these are relatively few options. Working out an agreement with you spouse can greatly open up your options.
I have seen people make regrettable decisions by focusing too strongly on "keeping the house." Real estate can be a volatile asset, with high upkeep costs. You may love your house, but it may be too much for you when you're single in terms of affordability and keeping up with the maintenance. I have seen people waive significant other assets in favor of keeping the house, and later ending up cash strapped with only a large illiquid asset. Keep an open mind, and talk with a financial advisor and your attorney to create a financially secure future.