If you were in the US all of 2024, you are a resident for tax filing purposes.
This is different from your legal status, it is your status for filing a tax return.
File Form 1040 and select 3, which means you "file as a resident for tax filing purposes".
If you are married, you can file "Married Filing Separately" or you and your spouse can elect to file a joint return.
HERE is a link about how to make that election.
It is confusing.
IRS LINK
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"