You cannot do it at will.
What you can do is set up a block services schedule.
When you set this up you can choose days to block say an xbox 360 from connecting to xbox live, and the time it is blocked.
This can be done in most routers, and can be set up by loging into the router under.
Block Services and Schedule.