Yes it's safe. There will be lots of people getting on the train at north station with you after the game. And south station has a large well lit interior waiting area. Just make sure to check the train schedule so that you get there in plenty of time for the last train of the night.