Do I have to turn off my W-2 consent before I leave State service?

No.  The State will automatically turn off your paperless consent and mail a printed copy of your W-2 to you.  Please make sure your department has your most current address before you leave.