Using Arrangement - To the Left / Right on the Window menu, you can define the side of the workspace on which the viewports are arranged when you select one of these Arrangements:
Arrangement - To the Left arranges the viewports on the left side of the workspace.
Arrangement - To the Right arranges the viewports on the right side of the workspace.