There is absolutely no way to tell when a person can have a mental illness during their life. Its always random and completely unpredictable. Some physical trauma to the brain have possibilities to give mental illnesses but that's not the point of this question.