You might be thinking of "The Way We Was" (Season 2, Episode 12)—a flashback to Homer and Marge's youth with baby Maggie and young Bart/Lisa—but that shows the kids younger, not older.
Instances where Bart, Lisa, and Maggie appear older:
No single episode permanently ages the children; The Simpsons maintains a floating timeline where the kids stay perpetually 10, 8, and 1.