Exemption for deceased

Hi all, The year in which one spouse does and the surviving spouse files a joint return can 2 exemptions still be claimed?