While it's best to assemble the burger just before serving to maintain the freshness and texture, you can prepare the individual components in advance and then quickly assemble them when you're ready to enjoy the burger.