Generally speaking, a surviving spouse or personal representative of the decedent's estate (usually the executor) will claim the refund on behalf of the taxpayer. A personal representative or person who is not a surviving spouse must distribute the refund according to the state laws where the decedent resideded.