Store the spaghetti and meatballs in the fridge for up to 3 days. Then, add them to the sub when ready to serve.