Multiplicative modulo inverse

What if the numbers are very large? Will this method still work?