If it's a shower, you want the panels on the inside, so water doesn't gum up the works. If it's an exterior door, you want the panels on the outside, for the same reason. If there's no water involved, then it comes down to security (locks on the inside) or aesthetics.
Edit: Please disregard this comment, per ReMark below.