Very generally, here are the rules for determining what's community property and what isn't:
If children are involved, the parent who spends the most time with the kids, or who provides their primary care, usually remains in the marital home with them. If you don't have children and the house is the separate property of just one spouse, that spouse has the legal right to ask the other to leave.
If, however, you don't have children and you own the house together, this question gets tricky. Neither of you has a legal right to kick the other out. You can request that the other person leave, but you can't require it. If you and your spouse don't come to a decision, the court will decide for you during divorce proceedings or earlier, if you ask for a temporary order on the issue. (For more information, see Temporary Orders in Family Court: Quick Decisions on Support and Custody.)
If your spouse changes the locks or somehow prevents you from entering the home, you can call the police. The police will probably direct your spouse to open the door and let you back in. When you both own the home, the only time you can get your spouse to leave is if your spouse has committed domestic violence and a judge grants a restraining order.
Whatever you do, do not claim domestic violence has occured just to get your spouse removed from the home. (Some people have resorted to this extreme tactic.) Once a judge realizes this has occurred, the party claiming violence may be asked to vacate the home and the judge may be biased againt him or her during future negotiations. If you believe you are a victim of domestic violence, but are not sure, go to the Yellow Pages and call your local domestic violence hotline.
For detailed and practical advice about making financial decisions during divorce, see Divorce & Money: How to Make the Best Financial Decisions During Divorce, by Violet Woodhouse with Dale Fetherling (Nolo).
It is common for a divorcing couple to decide about dividing their property and debts themselves (with or without the help of a neutral third party like a mediator), rather than leaving it to the judge. However, if a couple cannot agree, they can submit their property dispute to the court, which will use state law rules to divide the property.
Courts divide property under one of two basic schemes: community property or equitable distribution. Debts are divided according to the same principles.
Division of property does not necessarily mean a physical division. Rather, the court may award each spouse a percentage of the total value of the property. Each spouse will get personal property, assets, and debts whose worth adds up to his or her percentage. (It is illegal for either spouse to hide assets in order to shield them from property division.) Nolo's Divorce & Money book can help you learn more about dividing money during divorce.