Yes, you can enter your W-2 in the Federal section of TurboTax and the information will carry over to a Pennsylvania return when you add Pennsylvania in TurboTax Online or download the state in TurboTax Desktop. The State program will ask questions as needed to make any changes needed for the State return.
See here for another discussion of Section 457(b) distributions.