For married couples to get a legal separation: 1  You can file in California if at least 1 of you is living in California. 2  Once enough time has passed so that you meet the residency requirement for a divorce, you can file an “amended petition” and ask the court for a divorce (if you want a divorce).