My wife and I are both international students. As I completed 5 years in the US in 2019, I will be considered a resident for tax purposes from the year 2020 onwards. However, my wife is still a non-resident alien. She has been filing taxes as a non-resident alien for the last three years. Since I became a resident, is it possible for us to file a joint return by opting to treat my wife as a resident?
I posted this question on multiple forums, but different people given me different opinions. One interesting answer that I received was that since I am a resident only for tax purposes and not a green card holder, we cannot file jointly.