Could i have gotten a false negative?

Im a few days late on my period so i decided to test. In the cup used to be detergent and im pretty sure i didnt wash all of it completely out as i was in a rush. Could this have gotten me a false negative on this test?