Should whole coffee beans be stored at room temperature, the fridge or freezer?
If you use your whole beans within a week it's probably not worth storing it in the refrigerator or freezer. Coffee beans should be stored in a cool, dry place. They can last 1-3 weeks in your pantry. Ideally you should store them in an airtight opaque container. They degrade quickly in the presence of light, heat, or oxygen.

If you want to store them longer, then they will last 3-4 month in the freezer.

Source:

http://stilltasty.com/fooditems/index/16941