In the movie Sucker Punch, while Baby Doll dances, the movie cuts over to scenes of her and the other girls in a different world. Is this world supposed to be Baby Doll's imagination? If not, what is it suppose to represent?
This is actually two questions. Muad'Dib is correct that the fantasy world (the brothel) is her way of coping with the real world (the asylum).
Baby Doll (I assume you mean her; Blondie was a supporting character) dances in the fantasy world, which transports the audience to a third level, the one with the fighting and fantastical elements. I believe this to be some sort of manifestation of her dance, as if her dancing would provide such imagery to the person observing her. When the train heist mission is botched, so is Baby Doll's dance.
It's all reads a bit like Inception, only not as intelligently done.
Actually I have another interpretation.
The whole movie the Wise Man (played by Scott Glenn) appears in the fantasy world, but at the end of the movie only Sweet Pea meets him on the bus, because Baby Doll dies before that scene. She can't insert him on her fantasy world because they never meet each other.
So, all we see, even when Baby Doll dances and there's a crazy version of the real world being shown, that's Sweet Pea telling the story to someone after all happened.