Your whole life
The activity of natural heart is the only way your body can survive and when the end comes it may be because the heart gives out, or there is a problem that is lethal elsewhere in the body.
When the body quits, so does the heart. If the heart is going to quit, all other things being generally ok, you might be eligible for a heart transplant
but the heat lives as long as you do.