"Lord Jesus, receive my spirit" is a saying that teaches and shows them that he will not perish.
"They were stoning Stephen." Since justification is accomplished by faith in Christ, and in Him human nature received innocence in abundance and granted us a new right, by virtue of which our souls no longer go to Hades, but, as before, are sent into the hands of the Living God, knowing this, holy Stephen said: "Lord Jesus! receive my spirit." And blessed Peter writes: "Therefore let those who suffer according to God's will entrust their souls to Him, as to a faithful Creator" (1 Pet. 4:19).
Source: Commentary on Acts