2 years ago I moved to SF from a shithole city. I had taken off like 3 years to work on my own projects. It was more difficult than I expected to find a job without any connections. Took about 3 months after moving here.
I think there's at least some bias against people who have taken time off because they appear comfortable not having a job and therefore the company has less leverage over them.