The trick I learned from a kind manager is to make your last day something early in the month and your first day on the new job the last week of the same month. In short if your time off doesn’t actually cross a month boundary your old insurance will still be in effect.
Just make sure when doing so you don’t work at the sort of place that’ll let you go as soon as you put in your notice.