My understanding is that it is not illegal to inhabit a dwelling unit without a kitchen that is functioning. Many people live in a boarding house situation where there is a common kitchen sometimes off site of the unit actually being occupied. Running water and a bathroom are a requirement for habitability purposes.One reason for you to leave the unit that had a fire is due to the discovery of asbestos in the unit which is known cancer causing agent. Possibly the reason for you not being allowed to live in the home is the fire issue and the discovery of the asbestos.