Yes. Being fired means almost nothing nowadays. Worst case scenario, they fire you with cause so you can’t collect unemployment. That puts you in the exact same situation as quitting. Once you decide you want to quit, just do the bare minimum while you job search.