Before any state can grant a divorce, it must have jurisdiction over both spouses. Jurisdiction gives it the right to decide issues between them. When you file for divorce, your petition or complaint attests to the fact that you’ve met residency requirements. This gives your state jurisdiction over you. When you serve your spouse with a copy of your petition or complaint, your state gains jurisdiction over him. After jurisdiction is established, you can usually leave the state, either temporarily or permanently. However, exceptions exist if you have children.
When you file a complaint or petition for divorce, you must meet each state’s residency requirements at that time. The exact time period depends on individual state laws; some states only require a few weeks, and others require months. However, the time must generally be continuous. If your state has a three-month requirement, you can’t live there for two months, leave for a month, return for a month, then file for divorce. When you do file, jurisdiction requirements over you are satisfied, so you don’t have to stay.