A new study suggests that taking a two-hour nap during a night shift may help restore brain function and memory in nurses.