At least in my program, it doesn't matter. It varies state by state, but I think some programs prefer you get it done your intern year, but some states don't allow you to take it until after your intern year. Check the FSMB (google) website and it will tell you each state's requirements.