Can a spouse move to another state or country, and then file for a divorce?
Yes, this is possible if that individual lives in the state for the required length of time. The divorce will be valid even if the other spouse lives in another state or country. The decisions the court makes about the case may not be valid unless the spouse who does not live in the state either consented to the jurisdiction of the court, or is legally “subject to” the divorce court’s “power” over the divorce.