All uncooked rice keeps fresh longer when stored in an airtight container and in cool, dry spaces. If you have a small bag of uncooked rice and can manage to keep it in the fridge, that's the ideal situation for keeping grains fresh for a long time. A cool/dry basement space works well as a storage for most of your grains as well.