In theory yes, but I don't think that's the case in practice.
I quit my job and was unemployed for three months (by my own will). I started interviewing again, got interviews, passed all coding tests, was complimented in some of them. And I was shot down in each. They called me for face to face interviews and in some of them I got a strong feeling that they were only trying to find a reason to reject me. You might ask, "but if they called you they must have been interested in you?" Well, maybe. It's human nature, we are highly irrational creatures who think are rational. I could solve problems, but my CV didn't look good and I'm not good in face to face interview and I can tell they definitely are in the mindset of shooting you down when you show the tiniest mistake, slip or lack of knowledge (my best guess for this behaviour is that most candidates suck and they expect you to suck). By the way, nobody payed any interest in the books I had read in between and little interest in my hobby projects.
I was quite sad and disappointed, not for being unemployed or rejected, no. For realising that we are such silly and pride fuelled creatures. I'm not even saying I deserved any of those jobs. I'm saying they were doing it wrong in a painfully obvious way.
The story has a sad ending: eventually I found a programming job.
And a happy continuation: I quit again and now I'm actively looking for a new position as shepherd on the top of some remote mountain.