Here's a breakdown:
* Vives: This is the conjugated form of the verb "vivir" (to live) in the second person singular (you).
* lejos: Means "far away."
* cerca: Means "close."
* de la universidad: Means "of the university."
So the entire phrase asks someone whether they reside at a distance from the university or nearby.