It depends on the rules and regulations of the employer, and the recruitment system of each company is different.
Some companies are allowed to rejoin, while others are not.
Re-employment, you can re-apply for employment procedures and sign a labor contract.