Sure. My DH, who is noticeably older than me, had a pension with his former employer that he could collect full benefits on once he'd clocked in 30 years. When he was between 20 & 30 years with that employer, I was looking for work and wanting to move elsewhere. Other, similar employers where he could find work would offer 401Ks but not pensions; the difference in what he'd have needed to stash in a 401K (given his age/time to retirement/unpredictability of markets) versus the value of the pension at that point was really striking, moreso because the retirement benefits his employer provided also include health insurance.
Long story short, he stayed in that job and claimed the pension, with 100% survivorship benefits for me. As a part of our retirement savings, it's pretty nice, though hardly lavish and certainly not enough for everything. So, yes. And yes, this did put serious constraints on my job search, though I in fact ended up with a good job, though not in my "dream" field, in our local area.