Given the recent round of layoffs when employee access was terminated overnight with no warning or conversation, I think employees should treat the employers the same. Now, I am not saying you just stop showing up one fine day but I am merely saying that I would give my notice, do my 2 weeks and leave. I wont spend time writing any docs for knowledge transfer (been there done that and honestly no one cared) but I will try to wrap up stuff I was working on only because I usually care about what I do.