Note: This achievement is missable and you will either need to return to an older save or start a new game to earn it. The stats page may have an incorrect completed mission count when doing the Loyalty missions, but if they do appear in your 'Completed' log, then it's okay to continue to the end.
This can be unlocked in co-op. Thanks to Tasty Outlaw for confirming.
You do not need to finish side-missions (store hacking/activities) given to you from your crew, but doing them will progress towards other achievements while you're working through the game. Thanks to Mjilner and Cr4zyAlan for confirming this.
Before the final mission, you will get a warning prompt that once you start, you will not be able to return to the simulation until it is over. You'll need to finish every Loyalty mission before you start the finale. You can save any of these Loyalty missions until just before the end-game mission and clear them up one after another if you'd rather focus on the story/activities first.
Final mission spoiler:
*** Spoiler - click to reveal ***As for who you choose to take with you on each segment makes no difference to this achievement. It only allows you to hear different conversations between the characters depending on what part of the mission you're on.
You will get this before
Imperator during the cutscene after the credits.