The only constitutional restrictions I am aware of require the President to be a natural born citizen, been a resident within the country for 14 years and be at least 35 years of age. Says nothing about actually having to be alive to hold the office, which kind of explains Millard Fillmore.