Yes.
But that's not necessarily a bad thing. You can tell the employer that you were going through a tough time, but if they look at your other results, it's obvious that you were able to overcome those problems and succeed, which is admirable for the workforce.