You should file a joint return. It does not matter that your spouse does not work. You can file a joint return even if one spouse has little or no income. And...you cannot claim a spouse as a dependent.
If you were legally married at the end of 2021 your filing choices are married filing jointly or married filing separately when you file your 2021 return.
Married Filing Jointly is usually better, even if one spouse had little or no income. When you file a joint return, you and your spouse will get the married filing jointly standard deduction of $25,100 (+$1350 for each spouse 65 or older) You are eligible for more credits including education credits, earned income credit, child and dependent care credit, and a larger income limit to receive the child tax credit.
If you choose to file married filing separately, both spouses have to file the same way—either you both itemize or you both use standard deduction. Your tax rate will be higher than on a joint return. Some of the special rules for filing separately include: you cannot get earned income credit, education credits, adoption credits, or deductions for student loan interest. A higher percent of your Social Security benefits may be taxable. Your limit for SALT (state and local taxes and sales tax) will be only $5000 per spouse. In many cases you will not be able to take the child and dependent care credit. The amount you can contribute to a retirement account will be affected. If you live in a community property state, you will be required to provide additional information regarding your spouse’s income. ( Community property states: AZ, CA, ID, LA, NV, NM, TX, WA, WI)
If you are using online TurboTax to prepare your returns, you will need to prepare two separate returns and pay twice.