Depends on the actual pins and your motherboard's front panel header layout.
For 1-pin's such as PWR LED+ and PWR LED-, it doesn't matter if upside down or front side up as it is only connected to a single pin.
For 2-pin switches such as RESET and POWER, it doesn't matter too (whether + or -) as they are only switches, as long as they are connected to the correct two pins of your header.
For 2-pin LEDs, however, you need to determine which pin is + and which pin is -.
For other front panel connectors (such as USB3.0, USB2.0, and HD Audio), it will only go in one direction (due to the pin layout), so, check the socket orientation against the headers so as not to damage any pins.