Married F1 to H1B

I was F1 visa since Aug.2015 to Oct.2019. I got my H1B after that (only 50+ day in 2019).  My wife is F1 now. My question is can we use "resident alien-married filing jointly" to pay of tax this year ? 

 

Thank you