From start to finish, staining cabinet doors and frames will take around 15-18 hours including the preparation work, the process, and the drying time.
Generally speaking, you should allow for at least 24 hours in total. Remember that for cabinet doors, you need to allow one side to dry for 4-5 hours before flipping it over and staining the other side of the door.
Depending on your situation, it could take 1-2 days to fully prep, stain, and dry your kitchen cabinets.