At a bare minimum 2 years but typically up to 5.  A lot depends on factors outside of our control; weather, how often the car is washed, where it’s stored.
Eventually the transparent coat will wear away over the years (this will be invisible to the eye) and its overall longevity really depends on conditions, cleaning frequency and proper application.