Filing taxes after death of spouse

My husband and I always filed a joint tax return. He passed away in January 2022. I was told I can/should file a joint return for 2022. Is that correct?