I definitely agree with the article. I've given extended notice for many jobs I've left (again, usually on the order of several months). I had a good relationship with my manager, and I like to leave stuff "tied up with a bow". Similar to the experience in the article, it was good for both me and my employer.
I'm sorry you didn't have a relationship with your employer where you felt this was possible. And to be clear, I don't believe my experience is universal, but I think if most people stop to think about it, they will be able to figure out how their employer will respond.