Filing for 2023 when spouse passed in 2024

I'm having trouble finding a definitive answer to this question...

 

My spouse passed away in February 2024...  when filling out the returns for 2023, if I answer the question "are you filing a return for a deceased person?" with "yes" it seems to assume she passed in 2023.

 

I thought since she was alive the entire tax year 2023 I could fill everything out like usual for last year but would not be able to E-File hers,  and file her final return next year?