If it is indeed MDMA, it is very stable so it can be stored for a long time. Keep it away from heat and moisture. If you plan on storing it for a long time maybe put it in the fridge or something
Yes, as others have mentioned,mdma is very stable and as long as you keep it away from extreme heat and light sources it should be just fine. A cool dry place is all you need.