I've been storing AoS minis for decades. I've tried both orientations and standing is by far the better solution both in terms of handling and in terms of minimising risk of damage to the model. My current preferred method is to use magnetic tape on the model base and similar in transport boxes (most of my models spend most of their time in steel drawers too), but foam would work OK too.