The employee would just have a very long notice period - so they are officially employed under the same contract as before, but the employer might revoke their access and say they don't need to show up. (And of course the contract would prevent them working or consulting for another company without their employer's agreement during the notice period, just as it did before.)