Exposed coffee, whether ground or in bean form, will eventually lose its flavor, so you should store it in a dark, cool, airtight place. Don't store it in the refrigerator, however, because it does have a tendency to absorb odors -- and you don't want garlic-flavored coffee.