Information on the railway you can find on www.bahn.com.
The following stops are close by:
S-Bahn (suburban railway) "Marienplatz"
U-Bahn (underground) "Marienplatz" or "Odeonsplatz"
The Residence has no own parking site for visitors. There are chargeable parking places in the underground car park of the Nationaltheater (Max-Joseph-Platz).