With all the companies I've worked for, when they do layoffs the employees are given 2 weeks pay.

I've always given 2 weeks notice or more. The old adage of don't burn bridges always applies. In fact, I resigned from my job on Tuesday and told my employer while I'd prefer to leave in 2 weeks, I'll stay on as long as necessary to help make a smooth transition. It looks like I may be there another month.