Assuming that my understanding is that "soundstage" is the location/positioning of the instruments including vocals and is not the same as "imaging" which would be the projection of the soundscape into the room, soundstage initially comes from the mixing/editing process when the recording is made. Sounds can be panned from side to side or placed in various locations based upon the position the producer/engineer puts it. There is mic placement and there are effects which might be part of the initial recording or added during the mixing process. Having made amateur recordings and producing/engineering my own recordings, that is a basic part of the process.
After that, it is up to the speakers/system/placement to accurately reproduce the soundstage which is set up in the recordings.