Deductions & credits

And pub 501 page 6 first column says.......

Spouse died during the year. If your spouse died during the year, you are considered married for the whole year for filing status purposes.