They normally need to be frozen to keep the potency. Oxygen destroys psilocybin so the best way to store them would be with an inert gas, such as the stuff that comes in a dust-off can.

Plastic baggies have small pores that allow air in and out so honestly I dont think they will still have much potency, if any. Shrooms normally have a shitty shelf life unless frozen.