Recent-vintage NiMH cells - post 3300s - should be stored fully charged, and re-charged regularly (monthly or so). As for LiPos - I'll defer that answer to someone else.
Castle Creations says to store at 50%; LiPos stored at full charge for extended periods will lose capacity and discharge capability and will eventually puff. 100% is a BAD idea.