This is called Dual Dialogue.
- Type the character names and dialogues in normally;
- Place your cursor in the first character name;
- Choose Format Dual Dialogue
- (or on Mac press Command + D on the keyboard);
- (or on Windows press Control + Alt + D on the keyboard);
- The two pieces of dialogue will be aligned side by side.