What is the required length of the service entrance cable into a dwelling?

What code?