It will depend on if your manager chooses to accept your two weeks notice or not. Some managers will but will make you work during those two weeks and even ride in the field with you to make sure that you are not bad mouthing the company. Others managers will not accept the two weeks notice and send you on your merry way.