California is a “no fault” divorce state, which means that the spouse or domestic partner that is asking for the divorce does not have to prove that the other spouse or domestic partner did something wrong. To get a no fault divorce, 1 spouse or domestic partner has to state that the couple cannot get along. Legally, this is called “irreconcilable differences.”
to file for divorce of a marriage in California, either you or your spouse must have lived in California for 6 months and in the county where you are filing your case for at least 3 months. If you do not meet these requirements, you can file for legal separation, then file an amended petition for divorce in the county in which you live once their residency requirements are met.
EXCEPTION: Same-sex married couples who got married in California but do not live in California and live in a state (or states) that will not dissolve a same-sex marriage, can file to end their same-sex marriage in California, regardless of these residency requirements. You must file in whichever county you were married. Keep in mind that if neither of you lives in California, the court may not be able to make orders about other issues like property and debt, partner support, or your children.