If the divorce is not final, you should be prepared to include all of your spouse's obligations in your debt calculation. CA is a community property state, and for this loan, you'll likely need to go FHA. Because of this, any jointly held credit, or obligations in her name will be factored against your income.
Until divorces are final, it is best to think of the application as being made jointly. And realize that even if your wife is not on the loan, she will need to sign several documents at close of escrow if you are still married at the time of signing. I tell you this only because some divorcing couples are not on the best of terms...
Let me know if I can assist.
You can buy with FHA with a 580 credit score, not conventionally. If you go with FHA, your spouses DEBTS will be considered' NOT their credit.