Yes. You can bury the UF wires directly in the earth. Or bury it in a conduit. When burying a wire directly, remember to dig 24 inches. If you are using conduits, 18 inches is more than enough.