To do you file your last years tax’s when your current year is pending
They are two separate entities. You can file last year's return even if this year's is pending. A prior year cannot be efiled. You will need to mail it in.
If you have other questions about this, ask in the comment section below.