Fridge: 7–10 days. Freezer: 6–12 months. Counter: 2 hours max.
Use your eyes, your nose, and a little bit of common sense. If it looks fuzzy, smells funky, or tastes vaguely of regret, let it go.
Your next batch of applesauce is waiting. Go make some more. It’s worth it.