I've dry hopped in the primary after the majority of fermentation was done, usually at or really near FG numbers. Worked out fine. However I now just dry hop in the keg, works just as well and easier for me. The dry hop taste/aroma lasts longer.
How long you dry hop depends on the hops, temps and your personal preference.