Longer duration of homelessness is associated with a lower likelihood of non-detectable plasma HIV-1 RNA viral load among people who use illicit drugs in a Canadian setting.