No, you don't have to mail it in, or upload it, but your are required to print and sign it.
You are supposed to keep it with your tax records for the next three years, and if the PA Department of Revune requests it, you need to send it to them on request.