You can stand anywhere you want in the court, but maintaining a distance for both of the players is also mandatory. The server can stand anywhere on the half of the court where they serve on each point, while the partner can stand anywhere as far or back towards wherever they want.