While a relatively small share of community-college students lacked permanent housing, thousands of them had to stay in temporary housing, sleep outdoors or in a car, or couch-surf.