In a word processor, if you want to achieve this, you'd hit Shift+Enter instead of Enter in a justified paragraph, and the last line will stretch.
Whether this looks good or not depends heavily on how many words you have in that line.
Also, for single word lines, I wouldn't expect this to work.