Est-il obligatoire d’avoir une assurance habitation ?

Est-il obligatoire d'avoir une assurance habitation ?