Should probably have a CPA look over things to make sure it is done correctly, but I did find some info on married filing separately.
According to IRS Pub 504 (emphasis mine)
Married Filing Separately
If you and your spouse file separate returns, you should each report only your own income, exemptions, deductions, and credits on your individual return. You can file a separate return even if only one of you had income. For information on exemptions you can claim on your separate return, see Exemptions , later.
Found the California rules in FTB 1051a. Looks like it might depend on how you file federally --
If you are married and file a joint federal tax return, you may
file separate for California if either of the following exceptions
• One spouse is an active duty military member.
• One spouse is a nonresident for the entire tax year and had no California sourced income during the tax year. For
more information get FTB Publication 1031
If you file a separate tax return, you must follow the property
rules from your state of domicile for the division of income
If you domicile in a community property state, you and your
spouse/RDP must each report half of the community income,
plus your separate income on your respective separate tax