Living inside an asteroid is a common scifi trope but very impracticle. They arent rocks. Most are more like sand dunes or rubble piles. You couldnt just dig a hole, slap a door on it and pump in air. You might bury your hab undrground to protect it against radiation but you would never have walls made of rock, not if you want air to breath.