You should always store nail polish bottles upright. If you go long periods without using a bottle and let it sit, the liquids and pigments can separate. If you keep it standing upright, it'll be easier to shake the bottles and recombine the contents. Also, standing bottles upright minimize the chance of leakage.