A replacement roof will only be covered under Homeowner's insurance if the roof is damaged or ripped off due to a storm or other natural disaster.
If the roof just needs replaced because it's old and time to replace the roof then no the Homeowners insurance will not cover the cost to have the roof replaced.
The Homeowner will have to pay out of pocket to have a roofer replace the roof with a new one.