Yes, but they are on call 24 hours a day.
As long as astronauts stay in space they are expected to carry out their mission objectives. However, shuttle and station crews are scheduled off duty time so they can relax. Back on Earth, astronauts work a normal 8 hour shift preparing and training for future missions to space.