Yes, it can! If you are predicting a time crunch for the night you want to serve the baked ziti or you just like making food ahead of time, this dish is perfect for that. What you'll want to do is roast the veggies first, and then mix it with your cooked pasta and let this mixture cool in the pan.
Once it's cooled, you can refrigerate, covered with aluminum foil, for a day or two. When you're ready to make the meal, add the cheese then go ahead and bake it for 30 minutes at 400 degrees. You'll need a little extra cooking time because you'll be starting to bake the dish while it's still cold.