Yes, depending on the policy.
There is replacement cost and actual cash value.
Replacement cost will pay to replace it with out depreciation.
Actual Cash Value will give you the depreciated value at the time of the loss on your roof.
Edit to add-
It is normal to only pay a bit up front and the rest upon completion. Keeps the storm chasers at bay.