If you get fired I think you can go on job seekers whilst you search for a new job?
But if you resign you won't be able to receive any help. So it depends, are you financially independent or do you still live with parents who are able to pay for your keep?