Answer first: dry, cold, dark and still, with the lot code where you can still read it in a year.
Position matters less than people think: upright or on its side makes no difference to a lyophilised powder, and upright is marginally better for a reconstituted vial because it keeps the stopper dry.
Specifically, let a refrigerated or frozen vial equilibrate to room temperature before opening, so humid air does not condense water onto a cold cake.
Residual moisture is the dominant determinant of solid-state stability, which is why desiccants accompany lyophilised material.
Dry, cold, dark, still. Four words and you have the answer.
edited 13 Jan 2025 by Dr_Otto_Lindqvist — expanded the table to cover the lower concentration