No. According to the USFDA, homemade pumpkin pie can cool at room temperature for 2 hours, after which there is a chance bacteria could start growing. So after 2 hours at room temperature, cover the pumpkin pie and place it in the fridge, where it will keep for 2-3 days.