Just curious, do you mean specifically the job as in role, or do you think this about going back to a company as a whole?
I can name easily a dozen, maybe two dozen people at my company I personally know who left then came back, although generally to a different role. And I’ve seen most of them get promoted after coming back, even to high roles like Director or VP. I don’t know if that’s just because of a good company culture or if it’s because it’s a larger business (2-2.5k corporate employees).
I was firmly against them but an opportunity showed itself early in my career and figured I could stick it out for 2 years to get a big name on my resume… and somehow it’s been ten years now. But it’s a company with a genuinely good culture and my career has grown constantly over those 10 years, so I’ve been happy. TBF, my employer before this was extremely toxic so in comparison it’s been amazing.