It depends I think. For your masters, probably not. But for your PhD, most schools will allow you to go to school part time to some extent but at some point you will need to be a full time student for a year at least when going for a PhD. Most of my fellow students work full time while going to grad school full time.