Yes, you need to use the same PSN account on both your PS4 and PS5 in order to transfer your save data.