Cranberries should remain fresh for up to one month in a refrigerator. Dull or wrinkled looking cranberries are not fresh and should be discarded. You can also freeze them for several months, providing you place them in a freezer as soon as you bring them home from the store. Here is a website with details and tips on safely freezing fresh cranberries