Husband died on March 19, 2022, should I file a joint return for 2022?

My husband died on March 19, 2022 and we filed our taxes as married filing jointly in 2021.  I understand that I can file as married for 2022 but is that also true for 2023?  I have no dependents in the home.