No.
if they make you redundant or lay you off you are (in the UK at least) entitled to redundancy pay (a Lump sum of money) dont know if its the same where you are but its worth looking into.
Do not under any circumstance quit your job, Finding work is hard enough as it is, no need to take money out of your pocket in the mean time.