> Do I quit before the period expires?
If you're fairly certain you'll be fired (and it sounds like you are) wouldn't this be the most sensible solution?
When asked in interviews why you left saying you quit usually goes over a lot better than saying you were fired. And explaining why you quit would certainly not be considered a poor reason - at least not for the companies you would want to work for.