Even Dying Stars Could Give Birth to Brand New Planets