Flat storage is great for the wood and maximizing density, but a bummer to sort through. Storing upright really has little chance of affecting the wood if it is truly vertical. What can cause problems is having shorter boards leaning against the longer boards.
I'd store vertically if I had the ceiling height, definitely need some chain and hooks up top to keep the boards from falling over.