How long should your house shingles last, before you need to replace them?

How can you tell, when it's time to replace them?

When should the insurance say they won't cover them?

Pat