I was an F-1 student/OPT until DEC 2021. I'm in my home country waiting for my permanent residency to get approved. I'm married to a US citizen. How do I file my taxes?

Should I file my taxes as a non resident? US resident? dual status? first year choice election? is TurboTax the bet for this case?