If there is a long blank in your resume that says "Rest forever", although this blank is common, it may send a dangerous signal to companies considering hiring you. You are an unreliable and self-motivated employee. Therefore, you can make a brief explanation of the window period in your resume.
In the face of this situation, be honest and don't hide it. You can spend some time on the date on your resume, writing the year instead of the month. If the interval is too long, you can add non-work things to your resume, such as studying at your own expense, volunteering, freelancing and starting your own business, running projects independently, etc. It should be noted that you should never share too much personal information in your resume or interview, and always pay attention to the positive aspects of your work experience.