Remove masking tape as soon as the job allows. On a vehicle, leaving tape in place too long, especially in heat or sunlight, lets the adhesive bond more tightly and degrade, which raises the risk of residue and marking.
As a rule, mask, paint and remove within the working session rather than leaving tape on for days.