This paper proposes a new absorbing boundary condition (ABC) computation approach based on the deep learning technique. Benefited from the sequence dependence feature, the Long Short-Term Memory (LSTM) network is employed to replace the conventional perfectly matched layer (PML) ABC for the Finite-Difference Time-Domain (FDTD) solving process. The newly proposed LSTM based PML model is trained by the electromagnetic field data on the interface of the conventional PML. Different from the conventional PML, the newly proposed model only needs one cell layer as the boundary. Hence, the newly proposed method conveniently reduces both the algorithm's complexity and the area of computation domain of FDTD. Additionally, the newly proposed LSTM based PML model can achieve higher accuracy than the conventional artificial neural network (ANN) based PML, thanks to the sequence dependence feature of the LSTM networks. Numerical examples have illustrated the capability and the accuracy of the proposed LSTM model. The results illustrate that the new method can be compatibly embedded into the FDTD solving process with the high accuracy.