moat: ditch dug as a fortification and usually filled with water
trench: a ditch dug as a fortification having a parapet of the excavated earth
homelessness: the state or condition of having no home (especially the state of living in the streets)