All such persons shall be able and capable in law to dispose of any goods and effects, to which they may be entitled within this state, either by testament, donation, or otherwise, and their representatives, in whatever place they may reside, shall receive the succession according to the laws of this commonwealth, either in person or by attorney, in the same manner as if they were citizens of this commonwealth.
68 P.S. § 23