I have a good working relationship at my work place. It is a 50-100 person sized company, I have a good relationship with my boss and the CEO. I plan to resign. I love my current job, they've treated me great, but it's the only place I've ever worked. I'd like to explore other opportunities, challenge myself with a new technology stack, possibly move to another city.
That said, I'd be interested in returning to this company in the future. What's the best way to keep this door open? Is it a bad idea to mention this when I'm resigning?