Usually they work somewhere legal or illegal. In London there was a guitarist who was fully covered by government support, he never worked, he had a room, monthly payment support, etc. And maybe they gets some money from old friends or sponsors as well, or from church. I know musicians getting money from church for this or that.