Understanding the Lifespan of a Section 21 Notice

How long does a section 21 notice last? Does it expire?