We'd like to offer our sincere condolences for your loss.
You will need to enter your marital status as it was on December 31, 2022. Therefore, your marital status would be widowed.
If you need help filing their final return, please refer to this article: How do I file a final return for someone who has passed away?
Thank you for choosing TurboTax.