Homeowners insurance doesn’t explicitly cover damage caused by squatters but a standard policy should cover damage to the structure of your home from any source that isn’t named as an exclusion in the policy including squatter damage.