It depends on the direction you draw them:
If you draw the walls clockwise, the “Component 1” will be “inside”.
If you draw the walls counterclockwise, the “Component 1” will be “outside”.
If you wish to flip the direction of the wall, you can run the _vaWallReverse command (Menu > Wall > Reverse Path). This command reverses the direction of a wall path and sides: the start point becomes the end point, the inner part becomes the outer part, and vice versa.
The doors, windows and openings included in the selected wall keep their position, but they may change their opening side when you reverse the wall path.
Wall before and after the Wall: Reverse: