Depends on how long the line is and if you get selected for advanced screening. Since the arrival is so early ( I've taken LY001 countless times) the lines at passport control won't be very long. You will have to change terminals however. To be on the safe side, id give it 3 hours or so.