Am I considered Resident Alien? I’m on an H1B visa, residing in the USA since January 2020? Can my husband file with me? he is on F1 and in US since June 2022?

I need guidance on our tax filing status. My husband and I recently married and want to ensure compliance. I’m on an H1B visa, residing in the USA since January 2020. My husband is on an F1 visa, residing in the USA since July 2022. We previously filed taxes individually through Sprintax. We’re considering using TurboTax, which supports Form 1040 for resident aliens. I have a few questions: Am I considered a resident alien for tax purposes? Should I file Form 1040 or 1040-NR? Can we file jointly using Form 1040, or should we continue filing separately? Thank you!