It is not mandatory, like in the case of automobile insurance to have a homeowners insurance. But when one mortgages, the deed of trust or mortgage requires the collateral to be insured.
www.orlandorealestateclub.com/homeowners-insurance-the-mortgage-connection/