You do not have to state a reason on your resume. If you have significant gaps in your professional experience, be prepared that it may cause questions during your interview. Some online applications may ask you to give a reason for leaving a job — wording it in a respectful manner will reflect better upon you.