i took abs module off my other bmw do i need to code it to my car or just instal on 2003 BMW 745Li

a friend gave me the abs module off the same car can i use it and install without having to code it i was told i had to code it

Asked by for the 2003 BMW 745Li