I believe that the company will give you a chance to re-enter the company if your previous performance in that company is not very bad and everything is OK.
Second, the labor law does not expressly stipulate that employees can re-enter the company after leaving the company, as long as the company thinks that your employees' abilities and performances in all aspects are still ok.