Of course, hospital pharmacy employers prefer employees with hospital experience. And the reverse is true of retail, retail pharmacy employers prefer employees with retail pharmacy. Still, plenty of pharmacists with no hospital experience get jobs in hospital, and plenty of pharmacists with no retail experience get jobs in retail. It's just extremely unlikely to happen in a big city or desirable area to live. What locale you are looking in, will determine how hard it is to jump from hospital into retail (and to get any kind of pharmacist job for that matter.)
I'm pretty sure there was a thread several months about from someone asking how to get a retail job with only hospital experience (they had been searching for awhile, and where not having any luck.) So the people here posting that retail will hire "anyone", like Dred Pirate often says, this isn't 2006 anymore.