At the second stage of the green card application process (filing from abroad with the National Visa Center), if the sponsoring spouse currently resides outside the United States, they must prove that they intend to establish a "domicile" in the United States either before or at the time of the foreign national spouse's arrival in the country.
Learn more about domicile in this guide.