Hi there, good question. Similar to other responses in this post, I would suggest not brining this up yourself. However, you should prepare an answer to it that is thoughtful and does not talk negatively about any co-workers or supervisors (if you left on difficult terms). It is best not to dodge the question if they do ask. Aim to be honest but also thankful for what you learned from this job. You could also talk about the things you were hoping to accomplish by resigning and having more time. If you have other, similar questions that ask about a difficult or negative experience, it is best to be honest about your role/actions in the situation and then focus on what you learned from the situation and how this experience has made you a better candidate. In sum, try to frame this as a positive learning experience.
I hope this helps,
Best of luck!