if kept cold? months and months. that's assuming CO2 to dispense the beer.
hand pump kegs like you see at frat parties...all that pumping oxidizes the beer, so you gotta drink it fast or its skunky before next weekend's kegger.
sometimes by the time I finish a keg, its just getting to its peak flavor. I have no patience.