Is it still proper to give 2 week notices when you're leaving your job?

In the event that the employer is mistreating you, would you still say it's important to give them two weeks?
Is it still proper to give 2 week notices when you're leaving your job?
Post Opinion