Does the ICD need to be removed after death?

In a casket, no. In a cremation, yes. But the mortuary or funeral home will take care of that.