As an non-resident of that state, I doubt he can buy it there, but he can keep any firearm that is legal in that state there.
NY residents can buy firearms in PA that are not legal in NY, but can't bring them into NY. Buy it in PA and drive it to the out of state home. Just stay out of states where it isn't legal to possess.