Don't put it in the freezer. THC breaks down when frozen. Your safest bet is to keep it in a mason jar in a small refrigerator with a low setting, or any cool, dark place.

I really don't think it'll be that good after years, though. I mean, consider the fact that bud is a plant. Would you want to eat a three-year old banana?