It will depend. If you have children, the court will look at who will get custody. That parent will probably get to keep living in the family home, if financially possible. The court may award that parent more property and fewer debts, especially if the other spouse cannot pay much child support.
The court will also consider, especially if there are no children, what type of financial condition the property and debt division will leave you in after the divorce. The court generally does not want one spouse very wealthy and the other poor. It will consider your age, health, education, and work prospects in making a decision.
Example 1: You were married a long time. You did not work much outside the home. The court may award you more community property or long-term maintenance (alimony) so you do not end up much poorer than your spouse is.
Example 2: You have a disability. You cannot work. The court may award you more community property.
Example 3: You have a lot of debt from your marriage. One of you has a lot more income than the other. The court may consider which spouse can afford to pay the debts when deciding who must pay them.
The court will usually award each spouse their separate property and order each to pay their separate debts. It rarely awards one the other's separate property and debts.