I'd quit if you new without a doubt they are going to fire you. Tell your boss you need more time for school. That way when your next potential job checks your references they won't hear "we had to let him go for such and such reason". Even if they fire you for a BS reason that's how they will represent you to your next interviewer...
Or maybe they want you to quit...