Widowed homeowner worries about losing home-sale tax break

Must surviving spouse sell home immediately after wife's death?