Can a spouse file for a divorce and lie about the whereabouts of the other person?

Not if they want the divorce decree to be legal and they could be charged with perjury by signing the divorce petition as it is a legal document.