As the instructions indicate, it is possible to file the I-129 form from abroad. There are different addresses depending upon whether delivery will be by USPS or by courier or express mail.

When you file an I-129 form you need to be sure that you provide an address where you will reliably receive correspondence, and you also need to update that address if it changes. Otherwise you may not get important communications and may miss deadlines.