I think it'd depend on why you're going. If you want the degree then you'd probably have to play by the rules. But if your goal is just to learn and you'd rather SAM learns with you, then what's the harm in keeping him on?
Is SAM somehow powered by and connected to you all the time?