I remember seeing Lisa wearing this kind of dress in a Simpsons Comic. Prof. Frink ended up creating an alternative universe, where everything was different. Lisa was the daughter of Marge and Artie Ziff instead of Marge and Homer, so her name was Lisa Marie Ziff instead of Simpson.
It's the Simpsons Comics issue #33. There used to be address called "comic.wtso.net" where you could read Simpsons Comics 4 free, but it seems to be deleted. However, if you search from Google with keywords "Simpsons Comics 33" and "download", you should be able to find links where you can download it to your computer for free.