Qualifying Widower and 1040 Tax Return

I have some questions about filing a 1040 tax return. If the husband's wife died on June 6, 2019, then he files for 2021 Federal Tax Return in 2022. Is the  husband required to file as a qualify widower or MFJ? If he qualifies for qualify widower, does he have write down the wife name and SSN on 1040 form in the joint return box?