If you maintain tension on the chain when you remove the wheel, and focus on placing the chain in a stable position before turning your attention to the wheel, hopefully it can stay in place.
Also, you might want to consider propping the bike upright so the chain can't sag and loop (make sure the top part of the chain can't fall off the crankset and fall below the lower part). Of course a bike stand lets you keep the bike upright the whole time (although I always feel like I need the bike on the ground and gravity assistance when aligning the wheel and tightening the QR)