No, it is not a good idea. The maximum time frame that you should leave pizza out is 2 hrs. Now the longer it goes after it is hot the more the risk of food-borne illness from the pizza. It is a good rule to refrigerate any leftover pizza asap.