It can be done, when you create Sprint. There you can choose team members who will be part of sprint and also can add their off hours. For detailed instructions please visit:

Sprint Resource Manager