Studying cAT after leaving Job

is it ok to resign from my current job and start studying for CAT or should i study for CAT side by side while doing work?

is it ok to resign from my current job and start studying for CAT or should i study for CAT side by side while doing work?