Is 9 days long enough to get percocet out of the system for a urine test?

Maybe. Alot depends on what test is used and how sensitive it is. I assume the Percocet is not being prescribed to you. Using narcotics not prescribed to you is very dangerous.