Villa, who will spend a short spell on loan with Melbourne City later this year after signing a deal with Major League Soccer outfit New York City, claims that he could yet pull on his country's shirt again if they need him.
"I've taken the decision to go to MLS and, as such, I will be without any competitive matches for several months which makes it difficult to continue. Then, after these six months, we'll see," he is quoted as saying by FIFA.com.
"If the coach wants to call me up, I would be delighted, but it's difficult and you need to be realistic. It would be normal that it all finishes here."
Villa has scored 59 goals in 97 appearances for the Spanish national team.