vagrant or a vagabond
A vagrant could be described as being "a person without a settled home or regular work who wanders from place to place and lives by begging"; vagrancy is the condition of such persons
Other synonyms include "tramp," "hobo," and "drifter".
tramp is a long-term homeless person who travels from place to place as a vagrant, traditionally walking all year round.
hobo is a migratory worker or homeless vagabond—especially one who is penniless
drifter - A person, with no real place to call their home. They wander from place to place, sometimes looking for something. Drifters move from place to place...once their problems catch up to them.