If its properly dried in a cool place I'd say quite a long time. Some people cure their buds for months.

I usually keep mine in a mason jar.