You're supposed to stay in the country you apply until approved incase they want an interview. Having said that many of us infact have left the country we applied in before it was issued successfully with no issue.
Flight dosnt really matter as long as a valid flight # is given.