The GTÜM recommends to have a medical every three years if you are under 40, and for 40 above every year.
It is a recommendation, not a law.
Dive shops I know ask for one that is not older than two years if you are under the age of 40.
I also heard that insurance might not pay if you don't...