Everyone loves a good time-saving hack but I wouldn't recommend cooking the asparagus with the pasta. The flavor gained from sauteeing the asparagus with the shallots, garlic, and butter will far exceed anything you'll get from boiling it with the pasta and it will maintain a crisp bite versus a potentially mushy bite.