is-the-worker-entitled-to-compensation

A worker quits there position and then is brought back for 2 weeks and then they are terminated is the employee owed compensation