If only the shingles are being removed and replaced, then no. If, however, structural changes are being made (dormers added or removed or decking is being replaced), then you must apply for a residential building permit.