It’s been tried. I knew a prisoner who was sentenced to life imprisonment. He later had a heart attack and his heart stopped but he was revived. He then filed a lawsuit arguing that because his heart had stopped he had been dead, albeit temporarily, and therefore his sentence of life imprisonment was completed. The judge did not rule in his favor.