The PS2 hardware itself does not expire—a working unit will play discs indefinitely with maintenance (laser cleaning, capacitor replacement).
However, online services ended:
For online play today, use a modern console (PS4/PS5) or PC with emulation (PCSX2) and community revival projects (e.g., OpenSpy for select titles).