It takes place towards the beginning of the film. Here's a breakdown of an early scene in Captain Marvel featuring Starforce prepping for a secret mission.