I am not sure on a deadline, but I am fairly certain you can't be enrolled if you take an Olympic redshirt. You can train there, but I think there is some rule against you being actually a part of the University while taking the redshirt.
I think I heard that in a Kyle Snyder interview maybe.