Federal loans such as Stafford loans and Perkins loans can be defered while you are in school at least half time. For private loans, it depends on the terms of the loan. There are hardship deferments available during residency for federal loans but there are specific eligibility requirements for those.