I think you may be referring to this one.
To the OP, as @Noname93 mentioned, there is no official deadline to file the AOS (I485/I765/I131/I864) package, most here on VJ will recommend filing them as soon as possible. In the case below, the OP was detained after their immigration status was checked after a minor traffic incident. If I remember correctly, they were not deported, but they had to deal with a huge and expensive headache.
Good Luck!