The fear of a resume gap is pretty tyrannical, I think a better solution than being afraid of ever going a while without a job would be resolve to just lie if you have to. Plus there's a variety of ways to make money other than a job, not all of which are illegal.