Divorce and assets can make for some sticky situations. Much depends on how your business is structured. Definitely take this matter up with your attorney.
If you purchase a house before finalizing a divorce, your spouse will have to sign a quitclaim deed to have his/her name removed from the house and making you the sole owner. Technically they will co-own the house. They can also make claims on escrow accounts. Consult your lawyer.
In divorce, the assets and debts are split evenly. Both are still liable for the house mortgage if both names are on it. Never sign a quit claim to a property for which you are on the mortgage; you then owe money on an asset you no longer own.
It will depend on your state's laws on division of assets during a divorce. It will depend on whether you are buying as an individual or through a business. If you are buying through a busines you own, then it will depend on how the business is organized. My advise? Call a good divorce lawyer.