It’s a good idea to remove masking tape as quickly as possible after painting to avoid it leaving behind a residue or becoming more bonded to the underlying surface.
In practice, you shouldn’t have problems leaving masking tape in place for a few days.