No. However that does not mean that code regulations for roof shingles do not apply. You cannot have more than two layers of shingles before they have to be removed. You must install shingles in accordance with manufactures specifications (number of nails, etc.). In Maine, ice and water shield is required at the lowest edges of the roof and must extend onto the roof so that it covers at least 24 inches beyond the exterior wall line. Shingles must be UL Listed Class A or B materials. Untreated cedar shingles are not permitted. If you have to replace roof rafters while shingling, a building permit is required.