Using Adobe Illustrator to create 3D models (obj)

You can export to OBJ from the Window>Asset Export

You drag your artwork to the panel and set your export settings.

Do you own the 3D printer or are you sending out to be printed in 3D?
If so - you should ask the 3D printing company for guidance.