Remote work puts a spin on this. If someone is remote and not logging in, there's just not much to do about it for the employer. Is the person ill? Are they just using the flexibility to work at different times? Should you keep paying them?
I heard stories of a guy who did this; was local, then went remote, and then didn't vpn in for months. There was a whole story around it, but ended up taking management a few more months to get him fired. This was a process heavy company obviously. But this AWOL person made at least 6 months of salary for not doing a damn thing.
I'm seeing this right now. Worse, he is doing a minimum thing so he
won't get fired outright (e.g. responding to internal chat many many
hours late with a single word "yup").
I have seen that before with a contractor. After two weeks of silence I assumed he was done.