This 100%.The hostile work environment contributed to your continual decline in performance until the company had to let you go, and thus you had to file for unemployment.Don't ever quit a job, make them fire you if you don't intend to use them as a reference.