18. An adult sheltered or taken in charge by an intermediate resource or a foster home, and an adult incarcerated in a penitentiary or detained in a house of detention or any other prison, or required to reside in a half-way house, ceases to be a member of a family.