Can spigetti sauce last 12 hours cooked on a counter?

It is not safe to leave pasta sauce, or any perishable food, out at room temperature for more than two hours. Bacteria can grow rapidly in the sauce and cause food poisoning if it is consumed. To be safe, store the sauce in the refrigerator or freezer until you are ready to use it.