Yes, a pie will go bad, you can store a baked pie in the fridge for 4 to 5 days.