it doesn't delete the library....but you never know with computers and shiv these days.
but i'm 99% that you will be fine because i use an external drive and when it's not hooked up, the library is still there, i just can't play songs through iTunes, and hooking up the iPod does not effect anything.