Short answer is 3-4 weeks for whole bean about a week for ground.
Exposure to Air is the number one freshness killer of coffee.
We ship our coffee in special bags to preserve the freshness of the coffee.Bags contain an air valve that allows carbon dioxide to escape the bag and block air from getting in and a special zip-lock bag. Once the bag is opened, it can be resealed. Our whole bean coffee will typically stay fresh for 2-3 weeks after receiving it. Air is the killer of coffee, so pre-ground coffee starts to go stale extremely fast. We always recommend grinding just what you need right before brewing.