It depends. When a work environment is so hostile or toxic that you have no choice but to quit, you may still be eligible to file a wrongful termination claim. But you must be a member of a protected class, and your employer must have acted in ways that violated your rights and legal protections.