No.
The retention period is prescribed in the Labor Law and the employer has a legal basis (legal obligation) for the processing, and therefore there is no need to use consent.