For long term storage horizontal is always best. This is because by laying wine horizontal, you'll be able to keep the cork wet which will prevent air from getting in and slowly deteriorating your wine.