Question: can you quit your job and receive unemployment?
Answer: If you resign you could claim benefits, but you won't get more money than you would on sick pay. If you stay in your job while you get better, you'll keep getting paid and building up holiday entitlement.