California law requires a person to live within the state for at least six months prior to filing for divorce. If you do not meet this criteria, you may be able to for legal separation. Afterwards, once you have lived in the state for six months, you can amend your legal separation documents and file for divorce.