https://www.taxconnections.com/taxblog/electing-to-treat-a-nonresident-spouse-as-a-u-s-resident/
Electing To Treat A Nonresident Spouse As A U.S. Resident