When properly dished the rim should be centered between the dropouts, chainstays, and seatstays (assuming the the frame is straight).
It makes no difference if the freewheel or cassette is on the wheel. The bearing cones, spacers, and locknuts must be in place and the wheel must be ready to mount.
Al