This is dependent on many different factors, and it is best explored through a case review. Moving out has important legal consequences such as effecting your alimony case. It can hurt your alimony case if you are a dependent spouse and make less than your significant other, or it may help you if your spouse moves out and they are making less than you.
Moving out can also affect custody of your children. If you set patterns by moving out, a judge will often follow those patterns when deciding who should get the kids or get more time with the kids.
Before taking any action it is best to consult your attorney to ensure that what you are doing is going to have a positive long-term effect on your specific case.