For long-term storage, you should pull the pumps out, clean them, seal the resin and hardener containers tightly with their respective caps, and store according to the manufacturer's directions. But it's OK to leave the pumps in the bottles for a few weeks after using them.
How to clean resin and hardener pumps
To clean epoxy resin pumps, cycle through with denatured alcohol, and set aside to dry. Clean hardener pumps in the same manner using warm water or denatured alcohol.