"Airplane!" and 'The Naked Gun' writer/director David Zucker filed for divorce from his wife Danielle ... but he says all is still fine and dandy between the two.
David submitted the docs earlier this week but he tells us it was a long time coming ... the couple has been separated for nearly 10 years. That's not all ... David says he and Danielle live just a few houses away from each other and routinely have family meals with their two kids.
As for why they've finally decided to call it quits -- David says they both knew it was time to officially move on -- but they'll still keep a friendly relationship.
According to the divorce docs, David's asking for physical custody of their teenagers -- a boy and a girl -- but surely wants to share legal custody with Danielle.