I work in ny and live in pa. i am taxed in ny but not in pa. which state is cheaper? can i just pay the cheaper state? I have heard very differing opinions.

I am looking for a straight cut answer of how to best proceed with my w2 for future. thanks!