Is it possible to have a PhD advisor from another university?
Extrapolating from the very few cases that I've seen, I think you'll need an official adviser at the school where you're actually enrolled.  If it's OK with that adviser, then you could also have a "real" adviser elsewhere, on an unofficial basis.  Your school may have some paperwork to be completed if your real adviser is to serve as a member of your official thesis committee.