It would depend on the type of loan. If it is a Stafford loan (the standard Federal loan) then, yes, you can defer repayment until after medical school. Depending on the type of Stafforfd loan, interest may accrue while you are in medical school.
There are different payback options available depending on the lender.