Not a good idea. In most cases, when you get to front desk, they will ask you to bring the key. Most hotels though no longer uses keys but they use key cards (which is controlled by front office), so where you have leave with it or not, when time for check out comes, you will no longer be able to use it.