Standing upright (in a case...) is the preferred method from what I've read/heard.
Also a good idea to open & air out the case once / twice a year if possible to reduce moisture build up.
I've even put a sheet of wax paper between the strings & fretboard to eliminate the chance of oxidizing and/or denting the frets...