Avengers: The Legal Endgame

What are the potential legal consequences of bringing everyone back from the snap after five years have passed?