Fresh yeast is highly perishable. Should it be kept in the fridge, it will need to be used within a few days. It can be frozen, but you must wrap it tight so not to let the air and moisture get to it. It'll keep ok for a few months, I would have thought.